﻿define(["service/service", "service/httpService"], function (service) {
    service.factory("logisticsService", function (httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/logistics/gets", params);
            },
            get: function (params) {
                return httpService.get("/admin/logistics/get", params);
            },
            pushorder: function (params) {
                return httpService.post("/admin/logistics/PushOrder", params);
            },
            pushpayorder: function (params) {
                return httpService.post("/admin/logistics/PushPayOrder", params);
            },
            logisticsexcel: function (params) {
                return httpService.post("/admin/logistics/LogisticsExcel", params);
            }
        }
        return methods;
    });
});